package com.yuqih.common.config;

import com.yuqih.common.dao.IBaseDao;
import com.yuqih.common.dao.IConditionHandler;
import com.yuqih.common.dao.ISortParser;
import com.yuqih.common.service.IBaseService;

public class TypeDefinition {

	Class<?> modelType;
	Class<?> entityType;
	Class<?> conditionType;
	IBaseService<?, ?, ?> baseService;
	IBaseDao<?, ?, ?> baseDao;
	ISortParser sortParser;
	IConditionHandler conditionHandler;
	
	/**
	 * @return the modelType
	 */
	public Class<?> getModelType() {
		return modelType;
	}
	/**
	 * @param modelType the modelType to set
	 */
	public void setModelType(Class<?> modelType) {
		this.modelType = modelType;
	}
	/**
	 * @return the entityType
	 */
	public Class<?> getEntityType() {
		return entityType;
	}
	/**
	 * @param entityType the entityType to set
	 */
	public void setEntityType(Class<?> entityType) {
		this.entityType = entityType;
	}
	/**
	 * @return the conditionType
	 */
	public Class<?> getConditionType() {
		return conditionType;
	}
	/**
	 * @param conditionType the conditionType to set
	 */
	public void setConditionType(Class<?> conditionType) {
		this.conditionType = conditionType;
	}
	/**
	 * @return the baseService
	 */
	public IBaseService<?, ?, ?> getBaseService() {
		return baseService;
	}
	/**
	 * @param baseService the baseService to set
	 */
	public void setBaseService(IBaseService<?, ?, ?> baseService) {
		this.baseService = baseService;
	}
	/**
	 * @return the baseDao
	 */
	public IBaseDao<?, ?, ?> getBaseDao() {
		return baseDao;
	}
	/**
	 * @param baseDao the baseDao to set
	 */
	public void setBaseDao(IBaseDao<?, ?, ?> baseDao) {
		this.baseDao = baseDao;
	}
	/**
	 * @return the sortParser
	 */
	public ISortParser getSortParser() {
		return sortParser;
	}
	/**
	 * @param sortParser the sortParser to set
	 */
	public void setSortParser(ISortParser sortParser) {
		this.sortParser = sortParser;
	}
	/**
	 * @return the conditionHandler
	 */
	public IConditionHandler getConditionHandler() {
		return conditionHandler;
	}
	/**
	 * @param conditionHandler the conditionHandler to set
	 */
	public void setConditionHandler(IConditionHandler conditionHandler) {
		this.conditionHandler = conditionHandler;
	}
	
	
}
